why does the process of finding square root using long division method works